﻿using System;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// YTBOrderDetail一体板订单取消变更子表
    /// </summary>
    [SugarTable("YTBOrderDetail")]
    public class YTBOrderDetail
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid DetailID { get; set; }

        /// <summary>
        /// 主表主键
        /// </summary>
        public Guid? MainID { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        public string Ordernumber { get; set; }

        /// <summary>
        /// 产品编码
        /// </summary>
        public string Productcode { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string Productname { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public string Quantity { get; set; }

        /// <summary>
        /// 下单日期
        /// </summary>
        public DateTime? Orderdate { get; set; }

        /// <summary>
        /// 请求交货日期
        /// </summary>
        public DateTime? Deliverydate { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 已生产入库数量
        /// </summary>
        public string Yscrkquantity { get; set; }

        /// <summary>
        /// 不可取消数量
        /// </summary>
        public string Bkqxquantity { get; set; }

        /// <summary>
        /// 不可取消原因
        /// </summary>
        public string Bkqxreason { get; set; }

        /// <summary>
        /// 同意取消数量
        /// </summary>
        public string Tyqxnumber { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public string Line { get; set; }

        /// <summary>
        /// 色号
        /// </summary>
        public string Colornumber { get; set; }
    }
}